<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css语法</title>
</head>




<style>
    p {
        color: red;
        text-align: center;
    }
</style>


<body>
    <p>这是一个你好世界</p>
    <p>以上的段落通过css设置</p>
</body>

</html>